SG Window
IsgPaintSink Interface

©1998 by Stinga

Constants     Error Codes     How To...     FAQ
IID: 59664360-2576-11d2-8E48-008048E27A77
Defined in: SGWINDOW.DLL
Implemented by: SG Window clients
Called by: SG Window object

IsgPaintSink interface is used to inform SG Window clients that window needs to be painted. SG Window object calls GetFlags method to determine which areas (window frame and/or window client area) client will paint. With this info, SG Window decides whether it will call ClientPaint and/or FramePaint methods, and when these methods are going to be called.

To receive messages through paint sink interface, you should implement it in the class or form module and register that implementation with the SG Window object.

Methods in Vtable Order
GetFlags Called to determine what areas of the window should be painted by client code.
ClientPaint Called when client area of the window should be painted.
FramePaint Called when frame area of the window should be painted.